package net.thxjj.adminServer.entity.aep;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="th_heart_log")//集合名
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class HeartData {
    private String deviceId;
    private long timestamp;
    private String terminal_type;
    private String software_version;
    private long sinr;
    private long rsrp;
    private long pci;
    private String manufacturer_name;
    private float heartbeat_time;
    private String hardware_version;
    private long ecl;
    private long cell_ID;
    private float battery_voltage;
    private long battery_value;
    private String IMSI;
    private String IMEI;
    private String ICCID;


    @Override
    public String toString() {
        return "HeartInfoBean{" +
                "deviceId='" + deviceId + '\'' +
                ", timestamp=" + timestamp +
                ", terminal_type='" + terminal_type + '\'' +
                ", software_version='" + software_version + '\'' +
                ", sinr=" + sinr +
                ", rsrp=" + rsrp +
                ", pci=" + pci +
                ", manufacturer_name='" + manufacturer_name + '\'' +
                ", heartbeat_time=" + heartbeat_time +
                ", hardware_version='" + hardware_version + '\'' +
                ", ecl=" + ecl +
                ", cell_ID=" + cell_ID +
                ", battery_voltage=" + battery_voltage +
                ", battery_value=" + battery_value +
                ", IMSI='" + IMSI + '\'' +
                ", IMEI='" + IMEI + '\'' +
                ", ICCID='" + ICCID + '\'' +
                '}';
    }
}
